//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="ZNUSERTM")]
		public class ZNUSERTMEntity: EntityObject
		{


#region Field
				private	string _ACCESS_CODE1="";
				private	string _ACCESS_CODE2="";
				private	string _ACCESS_CODE3="";
				private	string _ACCESS_CODE4="";
				private	string _ACCESS_CODE5="";
				private	string _ACCESS_CODE6="";
				private	bool _ACTIVE_BIT=false;
				private	DateTime _ACTIVE_FM=DateTime.MinValue;
				private	DateTime _ACTIVE_TO=DateTime.MinValue;
				private	string _ALIAS_NAME="";
				private	string _COMP_CODE="";
				private	string _DEPT_CODE="";
				private	string _EMAIL_ADDR="";
				private	string _LICGP_CODE="";
				private	string _LOGON_ID="";
				private	string _LOGON_LANG="";
				private	string _LOGON_MD5="";
				private	string _PASS_CODE="";
				private	string _ROLE_CODE="";
				private	string _USER_DATE_FMT="";
				private	string _USER_DATE_SEP="";
				private	string _USER_FONT_NAME="";
				private	Int32 _USER_FONT_SIZE=0;
				private	string _USER_NAME01="";
				private	string _USER_NAME02="";
				private	string _USER_NAME03="";
				private	string _USER_NAME04="";
				private	DateTime _WRONG_DATE=DateTime.MinValue;
				private	Int32 _WRONG_TIMES=0;
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//ZNUSERTM,ACCESS_CODE1
				//</Summary>
				public string ACCESS_CODE1
				{
					get { return _ACCESS_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACCESS_CODE1)
							{
								_ACCESS_CODE1 = value; 
								this.PropertyChange("ACCESS_CODE1");
							}
						}else{
							_ACCESS_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACCESS_CODE2
				//</Summary>
				public string ACCESS_CODE2
				{
					get { return _ACCESS_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACCESS_CODE2)
							{
								_ACCESS_CODE2 = value; 
								this.PropertyChange("ACCESS_CODE2");
							}
						}else{
							_ACCESS_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACCESS_CODE3
				//</Summary>
				public string ACCESS_CODE3
				{
					get { return _ACCESS_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACCESS_CODE3)
							{
								_ACCESS_CODE3 = value; 
								this.PropertyChange("ACCESS_CODE3");
							}
						}else{
							_ACCESS_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACCESS_CODE4
				//</Summary>
				public string ACCESS_CODE4
				{
					get { return _ACCESS_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACCESS_CODE4)
							{
								_ACCESS_CODE4 = value; 
								this.PropertyChange("ACCESS_CODE4");
							}
						}else{
							_ACCESS_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACCESS_CODE5
				//</Summary>
				public string ACCESS_CODE5
				{
					get { return _ACCESS_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACCESS_CODE5)
							{
								_ACCESS_CODE5 = value; 
								this.PropertyChange("ACCESS_CODE5");
							}
						}else{
							_ACCESS_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACCESS_CODE6
				//</Summary>
				public string ACCESS_CODE6
				{
					get { return _ACCESS_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACCESS_CODE6)
							{
								_ACCESS_CODE6 = value; 
								this.PropertyChange("ACCESS_CODE6");
							}
						}else{
							_ACCESS_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACTIVE_BIT
				//</Summary>
				public bool ACTIVE_BIT
				{
					get { return _ACTIVE_BIT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACTIVE_BIT)
							{
								_ACTIVE_BIT = value; 
								this.PropertyChange("ACTIVE_BIT");
							}
						}else{
							_ACTIVE_BIT = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACTIVE_FM
				//</Summary>
				public DateTime ACTIVE_FM
				{
					get { return _ACTIVE_FM; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACTIVE_FM)
							{
								_ACTIVE_FM = value; 
								this.PropertyChange("ACTIVE_FM");
							}
						}else{
							_ACTIVE_FM = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ACTIVE_TO
				//</Summary>
				public DateTime ACTIVE_TO
				{
					get { return _ACTIVE_TO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACTIVE_TO)
							{
								_ACTIVE_TO = value; 
								this.PropertyChange("ACTIVE_TO");
							}
						}else{
							_ACTIVE_TO = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ALIAS_NAME
				//</Summary>
				public string ALIAS_NAME
				{
					get { return _ALIAS_NAME; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ALIAS_NAME)
							{
								_ALIAS_NAME = value; 
								this.PropertyChange("ALIAS_NAME");
							}
						}else{
							_ALIAS_NAME = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,COMP_CODE
				//</Summary>
				public string COMP_CODE
				{
					get { return _COMP_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_COMP_CODE)
							{
								_COMP_CODE = value; 
								this.PropertyChange("COMP_CODE");
							}
						}else{
							_COMP_CODE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,DEPT_CODE
				//</Summary>
				public string DEPT_CODE
				{
					get { return _DEPT_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_DEPT_CODE)
							{
								_DEPT_CODE = value; 
								this.PropertyChange("DEPT_CODE");
							}
						}else{
							_DEPT_CODE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,EMAIL_ADDR
				//</Summary>
				public string EMAIL_ADDR
				{
					get { return _EMAIL_ADDR; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_EMAIL_ADDR)
							{
								_EMAIL_ADDR = value; 
								this.PropertyChange("EMAIL_ADDR");
							}
						}else{
							_EMAIL_ADDR = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,LICGP_CODE
				//</Summary>
				public string LICGP_CODE
				{
					get { return _LICGP_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LICGP_CODE)
							{
								_LICGP_CODE = value; 
								this.PropertyChange("LICGP_CODE");
							}
						}else{
							_LICGP_CODE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,LOGON_ID
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string LOGON_ID
				{
					get { return _LOGON_ID; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOGON_ID)
							{
								_LOGON_ID = value; 
								this.PropertyChange("LOGON_ID");
							}
						}else{
							_LOGON_ID = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,LOGON_LANG
				//</Summary>
				public string LOGON_LANG
				{
					get { return _LOGON_LANG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOGON_LANG)
							{
								_LOGON_LANG = value; 
								this.PropertyChange("LOGON_LANG");
							}
						}else{
							_LOGON_LANG = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,LOGON_MD5
				//</Summary>
				public string LOGON_MD5
				{
					get { return _LOGON_MD5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_LOGON_MD5)
							{
								_LOGON_MD5 = value; 
								this.PropertyChange("LOGON_MD5");
							}
						}else{
							_LOGON_MD5 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,PASS_CODE
				//</Summary>
				public string PASS_CODE
				{
					get { return _PASS_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PASS_CODE)
							{
								_PASS_CODE = value; 
								this.PropertyChange("PASS_CODE");
							}
						}else{
							_PASS_CODE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ROLE_CODE
				//</Summary>
				public string ROLE_CODE
				{
					get { return _ROLE_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ROLE_CODE)
							{
								_ROLE_CODE = value; 
								this.PropertyChange("ROLE_CODE");
							}
						}else{
							_ROLE_CODE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_DATE_FMT
				//</Summary>
				public string USER_DATE_FMT
				{
					get { return _USER_DATE_FMT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_DATE_FMT)
							{
								_USER_DATE_FMT = value; 
								this.PropertyChange("USER_DATE_FMT");
							}
						}else{
							_USER_DATE_FMT = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_DATE_SEP
				//</Summary>
				public string USER_DATE_SEP
				{
					get { return _USER_DATE_SEP; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_DATE_SEP)
							{
								_USER_DATE_SEP = value; 
								this.PropertyChange("USER_DATE_SEP");
							}
						}else{
							_USER_DATE_SEP = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_FONT_NAME
				//</Summary>
				public string USER_FONT_NAME
				{
					get { return _USER_FONT_NAME; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_FONT_NAME)
							{
								_USER_FONT_NAME = value; 
								this.PropertyChange("USER_FONT_NAME");
							}
						}else{
							_USER_FONT_NAME = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_FONT_SIZE
				//</Summary>
				public Int32 USER_FONT_SIZE
				{
					get { return _USER_FONT_SIZE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_FONT_SIZE)
							{
								_USER_FONT_SIZE = value; 
								this.PropertyChange("USER_FONT_SIZE");
							}
						}else{
							_USER_FONT_SIZE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_NAME01
				//</Summary>
				public string USER_NAME01
				{
					get { return _USER_NAME01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_NAME01)
							{
								_USER_NAME01 = value; 
								this.PropertyChange("USER_NAME01");
							}
						}else{
							_USER_NAME01 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_NAME02
				//</Summary>
				public string USER_NAME02
				{
					get { return _USER_NAME02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_NAME02)
							{
								_USER_NAME02 = value; 
								this.PropertyChange("USER_NAME02");
							}
						}else{
							_USER_NAME02 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_NAME03
				//</Summary>
				public string USER_NAME03
				{
					get { return _USER_NAME03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_NAME03)
							{
								_USER_NAME03 = value; 
								this.PropertyChange("USER_NAME03");
							}
						}else{
							_USER_NAME03 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,USER_NAME04
				//</Summary>
				public string USER_NAME04
				{
					get { return _USER_NAME04; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_USER_NAME04)
							{
								_USER_NAME04 = value; 
								this.PropertyChange("USER_NAME04");
							}
						}else{
							_USER_NAME04 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,WRONG_DATE
				//</Summary>
				public DateTime WRONG_DATE
				{
					get { return _WRONG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WRONG_DATE)
							{
								_WRONG_DATE = value; 
								this.PropertyChange("WRONG_DATE");
							}
						}else{
							_WRONG_DATE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,WRONG_TIMES
				//</Summary>
				public Int32 WRONG_TIMES
				{
					get { return _WRONG_TIMES; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WRONG_TIMES)
							{
								_WRONG_TIMES = value; 
								this.PropertyChange("WRONG_TIMES");
							}
						}else{
							_WRONG_TIMES = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//ZNUSERTM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
